<?php
class Block_Announcements extends Zend_Controller_Action_Helper_Abstract
{
    private $_view;
    
    public function __construct($view) {
        $this->_view = $view;
    }

    public function init() {
        $this->createAnnoncementBlock();
    }

    public function createAnnoncementBlock() { 
    	$layout = Zend_Controller_Front::getInstance()->getParam('bootstrap')->getResource('Layout');                               
        $layout->announcements = $this->_view->partial(
            'announcements.phtml'
        );
    }

}